<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>同步树</title>
	<script type="text/javascript">
		var Global = {
			contextPath:'/bingo.ui.framework'
		} 
	</script>
	<script src="../../../../scripts/jquery.js" type="text/javascript"></script>
	<script src="../../../../scripts/jquery.utils.js" type="text/javascript"></script>
	
	<link  href="../../../../themes/default/ui.css" type="text/css" id="themesLink" rel="stylesheet" />
	<script type="text/javascript" src="../../../../scripts/jquery_plugins/jquery.json.js" ></script>
	<script src="../ui.tree.js" type="text/javascript"></script>
	<link  href="../ui.tree.css" rel="stylesheet" type="text/css" />
<!-- 换肤 -->
	<script type="text/javascript" src="../../../theme_cookie.js"></script>
	<style>
		.tree{
			width:200px;
			height:240px;
		}
	</style>

	<script>
		$(function(){
			$('#dyn-tree').tree({
            	method	 :   'post',
            	asyn	 :   false,
            	rootId   :   'root',
            	rootText :   '根节点',
				CommandName : 'java.tree.command',
				params : {
					daoBeanName:'dao',
				 	sqlId : 'lightTree.allTree',
				 	testId:'123'
			    }
            }) ;
		}) ;
	</script>
	
</head>

<body>
	<div id='content-dyn' class='demo'>
		<h1></h1>
		<div id="dyn-tree" class="tree" style="padding: 5px; overflow-y: auto; height:450px;"></div>
	</div>
</body>
</html>